package com.corona.game;

import com.corona.Game;

/* compiled from: Action.java */
/* loaded from: pokewilds.jar:com/pkmngen/game/SplitAction.class */
public class SplitAction extends Action {
    private Action nextAction2;
    String camera = "map";

    public SplitAction(Action nextAction1, Action nextAction2) {
        super(new Object[0]);
        this.nextAction2 = nextAction1;
        this.nextAction = nextAction2;
    }

    @Override // com.corona.game.Action
    public String getCamera() {
        return this.camera;
    }

    @Override // com.corona.game.Action
    public Action.Layer getLayer() {
        return Action.Layer.map_500;
    }

    @Override // com.corona.game.Action
    public void step(Game game) {
        game.actionStack.remove(this);
        game.insertAction(this.nextAction2);
        game.insertAction(this.nextAction);
    }
}
